home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / screen.postrm < prev    next >
Encoding:
Text File  |  2007-03-08  |  714 b   |  31 lines

  1. #!/bin/sh
  2. set -e
  3.  
  4. case "$1" in
  5.   remove) ;;
  6.   purge) ;;
  7.   upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) exit 0 ;;
  8.   *)
  9.     echo "ERROR: screen postrm called with unknown argument \"$1\"."
  10.     echo "Aborting removal of screen package."
  11.     exit 1 ;;
  12. esac
  13.  
  14. rm -rf /var/run/screen
  15.  
  16. # remove from /etc/shells
  17. /usr/sbin/remove-shell /usr/bin/screen || true
  18.  
  19. # Automatically added by dh_installdebconf
  20. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  21.     . /usr/share/debconf/confmodule
  22.     db_purge
  23. fi
  24. # End automatically added section
  25. # Automatically added by dh_installinit
  26. if [ "$1" = "purge" ] ; then
  27.     update-rc.d screen remove >/dev/null || exit $?
  28. fi
  29. # End automatically added section
  30.  
  31.